Skip to main content

environment

Type

function

Summary

Returns the type of running environment the stack is in.

Syntax

the environment
environment()

Description

Use the environment function to change a stack's behavior depending on how the stack was opened.

Examples

the environment
if the environment is "development" then showDevelopOptions

function: version, revLicenseType, buildNumber, systemVersion

property: secureMode

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?